package com.deer.wms.base.system.webservice.allot;

import com.deer.wms.base.system.service.sapInterface.MM027.MM027Service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 申紫微
 * @version 1.0
 * @description
 * @data 2021-07-24 10:16:05
 */
@Controller
@RequestMapping
public class AllotController {

    @Autowired
    private MM027Service allotService;

    /**
     * SAP MM027调拨接口Controller
     * @author 申紫微
     * @date 15:54 2021/7/24
     * @params
     * @return void
     **/
    @GetMapping("/allot")
    @ResponseBody
    public void allot(String data){
        allotService.mm027send(data);
    }

}
